﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GHRMS.MODEL
{
    [Serializable]
    public class RoyalItemHistoryInfo : RecordInfo
    {
        private int seq;
        private EmployeeInfo emp_seq;
        private Nullable<int> royal_item_req_seq;
        private RoyalItemInfo royal_item_seq;        
        private string pos_ref;
        private string pos_name;
        private string class_name;
        private Nullable<double> salary;
        private string job_site_name;
        private string gazette_no1;
        private string gazette_no2;
        private string gazette_no3;
        private string gazette_no4;
        private string gazette_no5;
        private Nullable<DateTime> received_date;
        private Nullable<DateTime> royal_date;
        private Nullable<DateTime> gazette_date;
        private Nullable<DateTime> repay_date;
        private Nullable<double> repay_amount;

        public RoyalItemHistoryInfo()
        {

        }
        public RoyalItemHistoryInfo(int Sequence)
        {
            this.Sequence = Sequence;
        }
        public RoyalItemHistoryInfo(int Sequence, EmployeeInfo Employee, Nullable<int> RoyalItemReqSeq
            , RoyalItemInfo RoyalItem, Nullable<DateTime> ReceiveDate, string PosRef, string PosName
            , string ClassName, Nullable<Double> Salary, string JobSiteName, string GazetteNo1
            , string GazetteNo2, string GazetteNo3, string GazetteNo4, string GazetteNo5
            , Nullable<DateTime> GazetteDate, Nullable<DateTime> RoyalDate
            , Nullable<DateTime> RepayDate, Nullable<double> RepayAmount
            , string RecordStatus, Nullable<int> CreatedBy, Nullable<int> UpdatedBy)
        {
            this.Sequence = Sequence;
            this.Employee = Employee;
            this.RoyalItemReqSeq = RoyalItemReqSeq;
            this.RoyalItem = RoyalItem;
            this.ReceiveDate = ReceiveDate;
            this.PosRef = PosRef;
            this.PosName = PosName;
            this.ClassName = ClassName;
            this.Salary = Salary;
            this.JobSiteName = JobSiteName;
            this.GazetteNo1 = GazetteNo1;
            this.GazetteNo2 = GazetteNo2;
            this.GazetteNo3 = GazetteNo3;
            this.GazetteNo4 = GazetteNo4;
            this.GazetteNo5 = GazetteNo5;
            this.RoyalDate = RoyalDate;
            this.GazetteDate = GazetteDate;
            this.RepayDate = RepayDate;
            this.RepayAmount = RepayAmount;
            this.RecordStatus = RecordStatus;
            this.CreatedBy = CreatedBy;
            this.UpdatedBy = UpdatedBy;
        }
        public int Sequence
        {
            get
            {
                return seq;
            }
            set
            {
                seq = value;
            }
        }

        public EmployeeInfo Employee
        {
            get
            {
                return emp_seq;
            }
            set
            {
                emp_seq = value;
            }
        }
        public Nullable<int> RoyalItemReqSeq
        {
            get
            {
                return royal_item_req_seq;
            }
            set
            {
                royal_item_req_seq = value;
            }
        }
        public RoyalItemInfo RoyalItem
        {
            get
            {
                return royal_item_seq;
            }
            set
            {
                royal_item_seq = value;
            }
        }
        public Nullable<DateTime> ReceiveDate
        {
            get
            {
                return received_date;
            }
            set
            {
                received_date = value;
            }
        }
        public string PosRef
        {
            get
            {
                return pos_ref;
            }
            set
            {
                pos_ref = value;
            }
        }
        public string PosName
        {
            get
            {
                return pos_name;
            }
            set
            {
                pos_name = value;
            }
        }
        public string ClassName
        {
            get
            {
                return class_name;
            }
            set
            {
                class_name = value;
            }
        }
        public Nullable<Double> Salary
        {
            get
            {
                return salary;
            }
            set
            {
                salary = value;
            }
        }
        public string JobSiteName
        {
            get
            {
                return job_site_name;
            }
            set
            {
                job_site_name = value;
            }
        }
        public string GazetteNo1
        {
            get
            {
                return gazette_no1;
            }
            set
            {
                gazette_no1 = value;
            }
        }
        public string GazetteNo2
        {
            get
            {
                return gazette_no2;
            }
            set
            {
                gazette_no2 = value;
            }
        }
        public string GazetteNo3
        {
            get
            {
                return gazette_no3;
            }
            set
            {
                gazette_no3 = value;
            }
        }
        public string GazetteNo4
        {
            get
            {
                return gazette_no4;
            }
            set
            {
                gazette_no4 = value;
            }
        }
        public string GazetteNo5
        {
            get
            {
                return gazette_no5;
            }
            set
            {
                gazette_no5 = value;
            }
        }
        public Nullable<DateTime> GazetteDate
        {
            get
            {
                return gazette_date;
            }
            set
            {
                gazette_date = value;
            }
        }
        public Nullable<DateTime> RoyalDate
        {
            get
            {
                return royal_date;
            }
            set
            {
                royal_date = value;
            }
        }
        public Nullable<DateTime> RepayDate
        {
            get
            {
                return repay_date;
            }
            set
            {
                repay_date = value;
            }
        }
        public Nullable<double> RepayAmount
        {
            get
            {
                return repay_amount;
            }
            set
            {
                repay_amount = value;
            }
        }
    }
}
